package com.supermap.dubbo.api.user.entity;

import java.io.Serializable;

/**
 * @author lxs
 * @Title:Vip VIP实体
 * @Description:
 * @date 2018/7/30  9:16
 */
public class Vip implements Serializable {
    private int id;//主键
    private int userId;//用户ID
    private String name;//经营主体名称
    private String type;//经营主体类别
    private String CountyName;//区县
    private String BelongsTownship;//所属乡镇
    private String BelongsVillage;//所属村社
    private String areaCode;//行政区划编码
    private String Lon;//经度
    private String Lat;//纬度
    private String height;//海拔
    private String BusinessScope;//经营范围
    private String AreaScale;//面积或生产规模
    private String AnnualProductionValue;//年产值(万元)
    private String ProdOperaCount;//从事生产经营人数
    private String TechCount;//技术人员人数
    private String TechAverageAge;//技术人员平均年龄
    private String NetComputerAccess;//是否有电脑并能上网
    private String useSmartPhones;//是否使用智能手机
    private String SmartPhoneBrand;//智能手机品牌
    private String LeaderName;//负责人
    private String LeaderPhone;//负责人电话
    private String TechLeaderName;//技术主管
    private String TechLeaderPhone;//技术主管电话
    private String intro;//介绍
    private String epath;//电商平台
    private String latitude;//经度
    private String longitude;//纬度
    private String addr;//地址
    private String del_flg;//删除标识
    private String createtime;//weidu


    public Vip(int id, int userId, String name, String type, String countyName, String belongsTownship, String belongsVillage, String areaCode, String lon, String lat, String height, String businessScope, String areaScale, String annualProductionValue, String prodOperaCount, String techCount, String techAverageAge, String netComputerAccess, String useSmartPhones, String smartPhoneBrand, String leaderName, String leaderPhone, String techLeaderName, String techLeaderPhone, String intro, String epath, String latitude, String longitude, String addr, String del_flg, String createtime) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.type = type;
        CountyName = countyName;
        BelongsTownship = belongsTownship;
        BelongsVillage = belongsVillage;
        this.areaCode = areaCode;
        Lon = lon;
        Lat = lat;
        this.height = height;
        BusinessScope = businessScope;
        AreaScale = areaScale;
        AnnualProductionValue = annualProductionValue;
        ProdOperaCount = prodOperaCount;
        TechCount = techCount;
        TechAverageAge = techAverageAge;
        NetComputerAccess = netComputerAccess;
        this.useSmartPhones = useSmartPhones;
        SmartPhoneBrand = smartPhoneBrand;
        LeaderName = leaderName;
        LeaderPhone = leaderPhone;
        TechLeaderName = techLeaderName;
        TechLeaderPhone = techLeaderPhone;
        this.intro = intro;
        this.epath = epath;
        this.latitude = latitude;
        this.longitude = longitude;
        this.addr = addr;
        this.del_flg = del_flg;
        this.createtime = createtime;
    }

    public Vip() {
    }

    public void assistUserParam(User user) {
        this.userId = user.getId();
        this.name = user.getShowName();
//        this.type = type;
//        CountyName = countyName;
//        BelongsTownship = belongsTownship;
//        this.height = height;
//        BusinessScope = businessScope;
//        AreaScale = areaScale;
//        AnnualProductionValue = annualProductionValue;
//        ProdOperaCount = prodOperaCount;
//        TechCount = techCount;
//        TechAverageAge = techAverageAge;
//        LeaderName = leaderName;
//        LeaderPhone = leaderPhone;
//        TechLeaderName = techLeaderName;
//        TechLeaderPhone = techLeaderPhone;
//        this.createtime = createtime;
        BelongsVillage = user.getAddress();
        this.areaCode = user.getAreaCode();
        Lon = user.getLongitude();
        Lat = user.getLatitude();
        NetComputerAccess = "是";
        this.useSmartPhones = "是";
        SmartPhoneBrand = "";
        this.intro = user.getIntroduction();
        this.epath = null;
        this.latitude = user.getLatitude();
        this.longitude = user.getLongitude();
        this.addr = user.getAddress();
        this.del_flg = "1";
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCountyName() {
        return CountyName;
    }

    public void setCountyName(String countyName) {
        CountyName = countyName;
    }

    public String getBelongsTownship() {
        return BelongsTownship;
    }

    public void setBelongsTownship(String belongsTownship) {
        BelongsTownship = belongsTownship;
    }

    public String getBelongsVillage() {
        return BelongsVillage;
    }

    public void setBelongsVillage(String belongsVillage) {
        BelongsVillage = belongsVillage;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getLon() {
        return Lon;
    }

    public void setLon(String lon) {
        Lon = lon;
    }

    public String getLat() {
        return Lat;
    }

    public void setLat(String lat) {
        Lat = lat;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getBusinessScope() {
        return BusinessScope;
    }

    public void setBusinessScope(String businessScope) {
        BusinessScope = businessScope;
    }

    public String getAreaScale() {
        return AreaScale;
    }

    public void setAreaScale(String areaScale) {
        AreaScale = areaScale;
    }

    public String getAnnualProductionValue() {
        return AnnualProductionValue;
    }

    public void setAnnualProductionValue(String annualProductionValue) {
        AnnualProductionValue = annualProductionValue;
    }

    public String getProdOperaCount() {
        return ProdOperaCount;
    }

    public void setProdOperaCount(String prodOperaCount) {
        ProdOperaCount = prodOperaCount;
    }

    public String getTechCount() {
        return TechCount;
    }

    public void setTechCount(String techCount) {
        TechCount = techCount;
    }

    public String getTechAverageAge() {
        return TechAverageAge;
    }

    public void setTechAverageAge(String techAverageAge) {
        TechAverageAge = techAverageAge;
    }

    public String getNetComputerAccess() {
        return NetComputerAccess;
    }

    public void setNetComputerAccess(String netComputerAccess) {
        NetComputerAccess = netComputerAccess;
    }

    public String getUseSmartPhones() {
        return useSmartPhones;
    }

    public void setUseSmartPhones(String useSmartPhones) {
        this.useSmartPhones = useSmartPhones;
    }

    public String getSmartPhoneBrand() {
        return SmartPhoneBrand;
    }

    public void setSmartPhoneBrand(String smartPhoneBrand) {
        SmartPhoneBrand = smartPhoneBrand;
    }

    public String getLeaderName() {
        return LeaderName;
    }

    public void setLeaderName(String leaderName) {
        LeaderName = leaderName;
    }

    public String getLeaderPhone() {
        return LeaderPhone;
    }

    public void setLeaderPhone(String leaderPhone) {
        LeaderPhone = leaderPhone;
    }

    public String getTechLeaderName() {
        return TechLeaderName;
    }

    public void setTechLeaderName(String techLeaderName) {
        TechLeaderName = techLeaderName;
    }

    public String getTechLeaderPhone() {
        return TechLeaderPhone;
    }

    public void setTechLeaderPhone(String techLeaderPhone) {
        TechLeaderPhone = techLeaderPhone;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getEpath() {
        return epath;
    }

    public void setEpath(String epath) {
        this.epath = epath;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getDel_flg() {
        return del_flg;
    }

    public void setDel_flg(String del_flg) {
        this.del_flg = del_flg;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void assistInformation(Vip param) {
        this.type = param.getType();
        CountyName = param.getCountyName();
        BelongsTownship = param.getBelongsTownship();
        this.height = param.getHeight();
        BusinessScope = param.getBusinessScope();
        AreaScale = param.getAreaScale();
        AnnualProductionValue = param.getAnnualProductionValue();
        ProdOperaCount = param.getProdOperaCount();
        TechCount = param.getTechCount();
        TechAverageAge = param.getTechAverageAge();
        LeaderName = param.getLeaderName();
        LeaderPhone = param.getLeaderPhone();
        TechLeaderName = param.getTechLeaderName();
        TechLeaderPhone = param.getTechLeaderPhone();
        this.createtime = param.getCreatetime();
    }
}
